import http from "@/untils/http";
// 获取楼栋列表接口
const houselist = data=>http.get("/api/houses/list",data)
// 楼栋列表
const builList = (data) => http.get("/api/building/list", data);
// 添加房间接口
const Add = data=>http.post("api/houses/add",data)
// 删除房间接口
const Del =data=>http.get("/api/houses/delete",data)
// 批量删除房间信息接口
const Dels = data=>http.post("/api/houses/deleteall",data)
export{
    houselist,
    builList,
    Add,
    Del,
    Dels
}